<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
    <div class="layui-card-body padding-left-40">
        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">姓名</span>
                <!-- <span class="color-desc margin-left-5">nickname</span> -->

                <input name="nickname" value='{$vo.nickname|default=""}' autofocus required pattern="^.{1,}$" placeholder="请输入姓名" class="layui-input">
            </label>
            <!-- <p class="help-block">登录用户账号创建后，不允许再次修改。</p> -->
        </div>
		
        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">工作单位</span>
                <!-- <span class="color-desc margin-left-5">Name</span> -->
                <input name="company" value='{$vo.company|default=""}' autofocus placeholder="请输入工作单位" class="layui-input">
            </label>
            <p class="help-block"></p>
        </div>	
		
        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">职务/级别</span>
                <!-- <span class="color-desc margin-left-5">Name</span> -->
                <input name="position" value='{$vo.position|default=""}' placeholder="请输入职务/级别" class="layui-input">
            </label>
            <p class="help-block"></p>
        </div>	
		
		
        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">联系手机</span>
                <!-- <span class="color-desc margin-left-5">Phone</span> -->
                <input type="text" maxlength="11" autocomplete="off"  name="phone" value='{$vo.phone|default=""}' pattern="^1[3-9][0-9]{9}$" placeholder="请输入联系手机" class="layui-input">
            </label>
            <!-- <p class="color-desc">可选，联系手机号码，需要填写正确的格式</p> -->
        </div>
		
		
        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">办公室座机</span>
                <!-- <span class="color-desc margin-left-5">Tel</span> -->
                <input type="text" maxlength="50" autocomplete="off" autofocus name="tel" value='{$vo.tel|default=""}' placeholder="请输入用户座机" class="layui-input">
            </label>
            <!-- <p class="color-desc">可选，办公室座机，需要填写正确的格式</p> -->
        </div>
		
        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">联系电子邮箱</span>
                <!-- <span class="color-desc margin-left-5">Email</span> -->
                <input name="mail" autocomplete="off" pattern="^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$" value='{$vo.mail|default=""}' placeholder="请输入联系电子邮箱" class="layui-input">
            </label>
            <!-- <p class="color-desc">可选，联系电子邮箱，需要填写正确的格式</p> -->
        </div>
		
		
        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">联系QQ</span>
                <!-- <span class="color-desc margin-left-5">QQ</span> -->
                <input type="text" maxlength="12" autocomplete="off" autofocus name="qq" value='{$vo.qq|default=""}' pattern="^[1-9]{6,12}$" placeholder="请输入联系QQ" class="layui-input">
            </label>
            <!-- <p class="color-desc">可选，联系QQ，需要填写正确的格式</p> -->
        </div>


        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">备注</span>
                <!-- <span class="color-desc margin-left-5">QQ</span> -->
                <input type="text" maxlength="12" autocomplete="off" autofocus name="remark" value='{$vo.remark|default=""}' class="layui-input">
            </label>
            <!-- <p class="color-desc">可选，联系QQ，需要填写正确的格式</p> -->
        </div>



    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>

</form>
